package br.com.guiav6.sisguia.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.com.guiav6.sisguia.dao.CepDao;
import br.com.guiav6.sisguia.entity.Cep;
import br.com.guiav6.sisguia.service.CepService;

@Service("cepService")
public class CepServiceImpl implements CepService {
	
	@Autowired(required = true)
	CepDao cepDao;

	@Override
	public Cep findByNuCep(String nuCep) {
		return cepDao.findByNuCep(nuCep);
	}

}